package com.aggregate.pay.sanstar.support.client;

import com.aggregate.pay.sanstar.bean.CardChargeValidData;
import com.aggregate.pay.sanstar.bean.CardChargeValidResult;
import com.aggregate.pay.sanstar.support.AbstractClient;
import com.aggregate.pay.sanstar.support.Factory;
import com.aggregate.pay.sanstar.support.Merch;

/**
 * 卡充值确认
 * @author Moyq5
 * @date 2021年1月20日
 */
public class CardChargeValid extends AbstractClient<CardChargeValidData, CardChargeValidResult> {

	public CardChargeValid(Merch merch) {
		super(merch);
	}

	@Override
	protected String getServerPath() {
		return Factory.getConfig().getServerPath() + "/card/charge/valid";
	}

	@Override
	protected Class<CardChargeValidResult> getResultClass() {
		return CardChargeValidResult.class;
	}

}
